*{
    margin: 0;
    padding: 0;
}

html{
  height:100%;
}

body{
  height: 100%;
  /*font-size: 12px;*/
  background-color: #f8f9fb;
}

a{
	color: #aaa;
	text-decoration: none;
}
ul{
	margin: 0;
}
table{
	background-color: #fff;
	font-size: 14px;
	font-weight: 400;
}
th,
td{
	text-align: center;
	font-size: 14px;
	font-weight: 400;
}
table .btn-primary{
	background-color: #eee;
	color: black;
	border: 1px solid #ddd;
}

/*=================aside=================*/



@font-face {
  font-family: 'iconfont';
  src: url('/static/vendors/icon-sprit/iconfont.woff2?t=1623082558605') format('woff2'),
       url('/static/vendors/icon-sprit/iconfont.woff?t=1623082558605') format('woff'),
       url('/static/vendors/icon-sprit/iconfont.ttf?t=1623082558605') format('truetype');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.aside{
  height: 100%;
  width: 180px;
  background-color: #2f4050;
  padding-top: 50px;
  position: fixed;
  left: 0;
  top: 0;
}
.profile{
	padding: 25px;
	text-align: center;
}
.avatar{
	width: 80px;
	border-radius: 50%;
	border: 5px solid rgba(255,255,255,.6);
	margin-bottom: 20px;
}
.profile h3{
	color: #fff;
}

.nav li{
	display: block;
	width: 100%;
	margin-bottom: 5px;
}

.nav  a{
	color: #aaa;
	display: block;
	padding: 10px 20px;
	text-decoration: none;
}

.nav  a:hover{
	color: #f6f6f6;
	background-color: #213140;
}

.nav li i{
	margin-right: 10px;
}

.nav ul{
	background-color: #243443;
	box-shadow: inset 0 1px 3px #111e29;
	/*display: none;*/
}
.nav ul a{
	padding-left: 30px;
	font-size: .9em;
}
.nav .arr{
	float: right;
	transition: transform .2s;
	transform: rotate(90deg);
}
.nav .collapsed .arr{
	transition: transform .2s;
	transform: rotate(0deg);
}
.nav .arr::before{
	content: "\e63f";
	font-family: "iconfont" !important;
	font-size: 12px;
}
.active > a{
	color: #fff;
	background-color: #213140;
}

.rotate{
	animation: rotate .5s;
	animation-fill-mode: forwards;
}
.r-rotate{
	animation: r-rotate .5s;
	animation-fill-mode: forwards;
}

@keyframes rotate{
	0%{
		transform: rotate(0deg);
	}
	100%{
		transform: rotate(90deg);
	}
}
@keyframes r-rotate{
	0%{
		transform: rotate(90deg);
	}
	100%{
		transform: rotate(0deg);
	}
}


/*==================== aside end =====================*/

/*==================== navbar =====================*/
.main{
	width: 100%;
	padding: 70px 5px 20px 185px;

}
.hd-navbar{
	height: 50px;
	position: fixed;
	top: 0;
	left: 180px;
	right: 0;
	z-index: 9;
	padding: 0 10px 0 10px;
	border-bottom: 1px solid #eee;
	background-color: #fff;
}
.navbar-right{
	float: right;
}
.navbar-right .iconfont{
	font-size: 20px;
}
.navbar-right li{
	float: left;
	list-style: none;
	height: 50px;
	line-height: 50px;
}
.navbar-right a{
	text-decoration: none;
	color: #40586d;
	display: block;
	height: 100%;
	width: 100%;
	padding: 0px 20px;
}
.navbar-right a:hover{
	background-color: #eee;
}

/*======================index=====================*/
.container-fluid{
	margin-right: auto;
	margin-left: auto;
	padding-left: 20px;
	padding-right: 20px;
}
.jumbotron{
	background-color: #eee;
}
.jumbotron h1{
	font-size: 63px;
	font-weight: 500;
	margin-top: 20px;
	margin-bottom: 20px;
}
.jumbotron p{
	font-size: 21px;
	font-weight: 200px;
	margin-bottom: 20px;
}
.jumbotron .btn{
	background-color: #40586d;
	border-color: #374b5d;
	outline: none;
	color: #fff;
}
.jumbotron .btn:hover{
	color: #fff;
    background-color: #2d3e4d;
    border-color: #202c36;
}
.jumbotron .btn:visited{
	color: #fff;
    background-color: #2d3e4d;
    border-color: #202c36;
    outline: none;
}
.panel{
	border: 1px solid #ddd;
}
.panel-head{
	color: #333333;
    background-color: #f5f5f5;
    border-color: #dddddd;
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}
.panel .list-group-item{
	/*border: 1px solid #ddd;*/
	border-radius: 0;
	border-width: 1px 0;
	margin-bottom: -1px;
	/*height: 100px;*/
}

.panel .list-group-item strong{
	font-size: 20px;
	padding-right: 5px;
}


/*====================posts======================*/
.main .page-title{
	margin-bottom: 20px;
}
.main .page-title h1{
	display: inline-block;
	font-size: 24px;
	font-weight: 400;
}

.main .page-title .btn-sm{
	color: #ffffff;
    background-color: #40586d;
    border-color: #374b5d; 
}
.page-container .form-control{
	margin-right: 9px;
}
.page-container .form-inline{
	display: inline-block;
}
.page-container .form-inline .btn-defaul{
    border-color: #cccccc;
}
.main table{
	margin-top: 20px;
}
.page-container .pagination{
	float: right;
	border: 1px solid #ccc;
}
.page-container .pagination li{
	
	border-right: 1px solid #ccc;
	margin-right: -1px;
}
.page-container .pagination a{
	height: 35px;
	line-height: 35px;
	padding: 0 15px;
	display: block;
	color: #212529;
	text-decoration: none;
	text-align: center;
}
.page-container .pagination a:hover{
	background-color: #aaa;
	color: #fff;
}
#posts_delete{
	margin-left: 10px;
}
/*=================post-ad================*/
.btn-primary{
	color: #fff;
    background-color: #40586d;
    border-color: #374b5d;
}
.btn-primary:hover{
	color: #ffffff;
    background-color: #2d3e4d;
    border-color: #202c36;
}

/*==================categories================*/
.row .col-md-8{
	padding-top:30px;
}
.row .col-md-8 #categories_delete{
	position: absolute;
	top: 0;
	left: 15px;
}

/*================分页==============*/
 .page-container .pagination .active_page{
 	background-color: #40586d;
    color: #fff;
 }